package cn.hotel.service.impl;

import cn.hotel.mapper.CheckInMapper;
import cn.hotel.service.CheckInService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class CheckInServiceImpl implements CheckInService {

    @Resource
    private CheckInMapper checkInMapper;

    @Override
    public int updateStatus(Integer orderId) {
        int i = checkInMapper.updateStatus(orderId);
        return i;
    }

    @Override
    public int updateStatus2(Integer orderId) {
        int i = checkInMapper.updateStatus2(orderId);
        return i;
    }
}
